<?php /* Smarty version Smarty-3.1.21-dev, created on 2018-03-07 17:44:46
         compiled from "/data/wwwroot/61kq.com/uploads/app/template/member/com/member_right.htm" */ ?>
<?php /*%%SmartyHeaderCode:15957334545a9fb48e80e753-24755923%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'd08a46e2dd779a639e912fc827eb6826c68f8f42' => 
    array (
      0 => '/data/wwwroot/61kq.com/uploads/app/template/member/com/member_right.htm',
      1 => 1517928130,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '15957334545a9fb48e80e753-24755923',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'statis' => 0,
    'config' => 0,
    'rows' => 0,
    'v' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.21-dev',
  'unifunc' => 'content_5a9fb48e932f71_99137746',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5a9fb48e932f71_99137746')) {function content_5a9fb48e932f71_99137746($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_date_format')) include '/data/wwwroot/61kq.com/uploads/app/include/libs/plugins/modifier.date_format.php';
?><?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['comstyle']->value)."/header.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<div class="w1000">
	<div class="admin_mainbody"> <?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['comstyle']->value)."/left.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

		<div class=right_box>
			<div id="grow_freedom" class="grow_mod_wrap my_freedom" style="padding:0px;border:none;">
				<div class="member_data">
					<div class="member_data_left">
						
						<div class="member_data_left_name">尊敬的企业用户：</div>
						<div class="mt10">您当前是：<span class="comindex_money_pd_s"><?php echo $_smarty_tpl->tpl_vars['statis']->value['rating_name'];?>
</span></div>
            
						<!--未开通情况-->
						<?php if ($_smarty_tpl->tpl_vars['statis']->value['rating']==0) {?>
							<div class="member_data_tip mt10">您还未开通任何会员，请及时开通！ </div>
						<?php } else { ?>
						
						<!--已开通情况-->
							<div>服务到期为：
								<?php if ($_smarty_tpl->tpl_vars['statis']->value['rating']!='0') {?>
									<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['statis']->value['vip_stime'],'%Y-%m-%d');?>
 - 
									<?php if ($_smarty_tpl->tpl_vars['statis']->value['vip_etime']==0) {?>
										永久
									<?php } else { ?>
										<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['statis']->value['vip_etime'],'%Y-%m-%d');?>

									<?php }?>
								<?php } else { ?>
										已到期
								<?php }?>
							</div>
						<?php }?>

					</div>
          
					<div class="member_data_right">
						<ul>
							<li>
								<span class="member_data_right_n">
									<?php if ($_smarty_tpl->tpl_vars['statis']->value['rating_type']!='2') {
echo $_smarty_tpl->tpl_vars['statis']->value['job_num'];
} else { ?>不限<?php }?>
								</span>
								<div class="member_data_right_p">剩余职位数</div>
							</li>
							<li>
								<span class="member_data_right_n">
									<?php if ($_smarty_tpl->tpl_vars['statis']->value['rating_type']!='2') {
echo $_smarty_tpl->tpl_vars['statis']->value['down_resume'];
} else { ?>不限<?php }?>
								</span>
								<div class="member_data_right_p">剩余简历数</div>
							</li>
							<li>
								<span class="member_data_right_n">
									<?php if ($_smarty_tpl->tpl_vars['statis']->value['rating_type']!='2') {
echo $_smarty_tpl->tpl_vars['statis']->value['invite_resume'];
} else { ?>不限<?php }?>
								</span>
								<div class="member_data_right_p">剩余邀请数</div>
							</li>
						</ul>
					</div>
				</div>
        


				<div class=admincont_box style="padding:0px; margin-top:20px;">
					<iframe id="fdingdan"  name="fdingdan" onload="returnmessage('fdingdan');" style="display:none"></iframe>
					<div class="package_tit"><span class="com_tit_span">选择适合您的企业VIP套餐</span></div>
					<div class="report_uaer_list ">
						<ul>
							<?php if ($_smarty_tpl->tpl_vars['config']->value['com_vip_type']==2) {?>
								<li class="report_uaer_list_cur"><a href="index.php?c=right" >套餐会员</a></li>
							<?php }?>
						  
							<?php if ($_smarty_tpl->tpl_vars['config']->value['com_vip_type']==1) {?>
								<li class="report_uaer_list_cur"><a href="index.php?c=right&act=time" >时间会员</a></li>
							<?php }?>
						  
							<?php if ($_smarty_tpl->tpl_vars['config']->value['com_vip_type']==0) {?>
								<li class="report_uaer_list_cur"><a href="index.php?c=right" >套餐会员</a></li>
								<li><a href="index.php?c=right&act=time" >时间会员</a></li>
							<?php }?>

							<li><a href="index.php?c=right&act=added" >增值包</a></li>
						</ul>
					</div>

 					<ul class="package_list">
						<?php  $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['rows']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
$_smarty_tpl->tpl_vars['v']->_loop = true;
?>
						
							<?php if ($_smarty_tpl->tpl_vars['v']->value['service_time']>0) {?>
								<li>
									<div class="package_list_box">
										<div class="com_grade_rline"></div>
										<div class="com_grade_tit"><?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
</div>
										<div class="com_grade_money"> 
											<span class="com_grade_money_n"> 
												<?php if ($_smarty_tpl->tpl_vars['v']->value['time_start']<time()&&$_smarty_tpl->tpl_vars['v']->value['time_end']>time()) {?>
													￥<?php echo $_smarty_tpl->tpl_vars['v']->value['yh_price'];?>

												<?php } else { ?>
													￥<?php echo $_smarty_tpl->tpl_vars['v']->value['service_price'];?>

												<?php }?> 
											</span> 
											<?php if ($_smarty_tpl->tpl_vars['v']->value['time_start']<time()&&$_smarty_tpl->tpl_vars['v']->value['time_end']>time()) {?> 
												<i class="serve_zz_h_nmb_tcjg">￥<?php echo $_smarty_tpl->tpl_vars['v']->value['service_price'];?>
</i> 
											<?php }?>
												/ 
											<span> <?php if ($_smarty_tpl->tpl_vars['v']->value['service_time']>0) {
echo $_smarty_tpl->tpl_vars['v']->value['service_time'];?>
天<?php } else { ?>永久<?php }?> </span> 
										</div>

										<div class="com_grade_list">
											<i class="com_grade_list_icon"></i>
											<span class="com_grade_list_name">发布职位数</span> 
											<span class="com_grade_list_n"><?php echo $_smarty_tpl->tpl_vars['v']->value['job_num'];?>
</span>
										</div>
											
										<div class="com_grade_list">
											<i class="com_grade_list_icon"></i>
											<span class="com_grade_list_name">刷新职位数</span> 
											<span class="com_grade_list_n"><?php echo $_smarty_tpl->tpl_vars['v']->value['breakjob_num'];?>
</span> 
										</div>
											
										<div class="com_grade_list">
											<i class="com_grade_list_icon"></i>
											<span class="com_grade_list_name">下载简历数</span> 
											<span class="com_grade_list_n"><?php echo $_smarty_tpl->tpl_vars['v']->value['resume'];?>
</span> 
										</div>
											
										<div class="com_grade_list">
											<i class="com_grade_list_icon"></i>
											<span class="com_grade_list_name">邀请面试数</span> 
											<span class="com_grade_list_n"><?php echo $_smarty_tpl->tpl_vars['v']->value['interview'];?>
</span> 
										</div>
											
										<div class="com_grade_list">
											<i class="com_grade_list_icon"></i>
											<span class="com_grade_list_name">发布兼职数</span> 
											<span class="com_grade_list_n"><?php echo $_smarty_tpl->tpl_vars['v']->value['part_num'];?>
</span> 
										</div>
											
										<div class="com_grade_list">
											<i class="com_grade_list_icon"></i>
											<span class="com_grade_list_name">刷新兼职数</span> 
											<span class="com_grade_list_n"><?php echo $_smarty_tpl->tpl_vars['v']->value['breakpart_num'];?>
</span> 
										</div>
											
										
						  
										<?php if ($_smarty_tpl->tpl_vars['v']->value['explains']) {?>
											<div class="com_grade_list shuoming">
												<i class="com_grade_list_icon"></i>
												<span class="com_grade_list_name">套餐说明</span> 
												<span class="com_grade_smbox fr">
													<div class="com_grade_smbox_cont" style="display:none;" id="rating<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
"><?php echo $_smarty_tpl->tpl_vars['v']->value['explains'];?>
</div>
													<i class="com_grade_smicon" pid="<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
"></i>
													<i class="com_grade_smicon_san" style="display:none;" id="ratingtu<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
"></i>
												</span> 
											</div>
										<?php }?>

										<div class="serve_zz_but">
											<form name="alipayment" target="fdingdan" action="index.php?c=pay&act=dingdan" method="post" id='myform<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
' >
												<input type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
" name="comvip" />
												<a href="javascript:buyvip('<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
');" class="added_list_gm">立即购买</a>
											</form>
										</div>
									</div>
								</li>
							<?php }?>    
						<?php }
if (!$_smarty_tpl->tpl_vars['v']->_loop) {
?>
							
							没有套餐会员

						<?php } ?>
					</ul>
				</div>
			</div>
		</div>
	</div>
</div>
<style>
.serve_zz_h_nmb_tcjg_box{width:100%; text-align:center; padding-bottom:10px;}
.serve_zz_h_nmb_tcjg{ font-size:14px;color:#999; text-decoration:line-through; font-weight:normal}
</style>
<?php echo '<script'; ?>
>
$(function(){
 $(".shuoming").hover(function(){$(this).find('.com_grade_smbox_cont').show();
 },function(){$(this).find('.com_grade_smbox_cont').hide();});
});
function buyvip(id){
	setTimeout(function(){$('#myform'+id).submit();},0);
}
$(document).ready(function() {
	$(".com_grade_smicon").hover(function() {
        var pid=$(this).attr("pid");
		$("#rating"+pid).show();
		$("#ratingtu"+pid).show();
    },function(){
		var pid=$(this).attr("pid");
		$("#rating"+pid).hide();
		$("#ratingtu"+pid).hide();
	});
    
});
<?php echo '</script'; ?>
> 
<?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['comstyle']->value)."/footer.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
<?php }} ?>
